package com.chen.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.pojo.entry.User;
import com.chen.pojo.vo.TaskWorkVo;
import com.chen.pojo.vo.UserInfoVo;
import com.chen.pojo.vo.UserVo;

import java.util.List;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/16
 * 用户表
 */
public interface UserMapper extends BaseMapper<User> {
    List<UserVo> selectUserByInnerCode(String innerCode);

    Page<TaskWorkVo> selectUserWorkPage(Page<TaskWorkVo> page, String userName, Integer repair);

    List<TaskWorkVo> selectUserWork(String userName, Integer repair);

    UserInfoVo selectUserInfoById(Integer userId);
}
